using System.Collections.Generic;

namespace Core.GameObjects.Entities
{
    public class EntityManager
    {
        private List<Entity> _Entities;

        public Entity GetEntity(int id)
        {
            foreach (Entity entity in _Entities)
            {
                if (entity.ID == id)
                    return entity;
                break;
            }

            return null;
        }
    }
}
